Skip to content

Conversation

softwareengineerprogrammer
Copy link
Owner

@softwareengineerprogrammer softwareengineerprogrammer commented Sep 24, 2025

Description

Addresses NREL#421 for SAM Economic Models

image image image image image

Testing & Verification

  1. Added new unit tests
  2. Added new example example_SAM-single-owner-PPA-4.: 50 MWe with Royalties
  3. Tested in web interface
  4. Manually tested/sanity-checked
    1. image
    2. image

TODO:

  1. CHANGELOG entry
  2. Validate that excluding Year 0 (0 revenue) is correct for calculating NPV: implementation includes Year 0 (excluding would be incorrect)
  3. FIXME incorrect calculation: 0da0340
  4. Slice based on pre-revenue (construction) years instead of hardcoding: a60199c
  5. Clarify taxes for royalties: a0d0c38
  6. Add a test for combined royalties and add-ons: a782cd7
  7. Royalties schedule (instead of fixed value)
  8. Update documentation
  9. Royalty collector economics
  10. Include annual average in GEOPHIRES OPEX (separate line item + include in total)
  11. Reconcile with fixed total OPEX

…ty collector revenue/NPV/etc., update documentation, add more unit tests
@softwareengineerprogrammer softwareengineerprogrammer added the enhancement New feature or request label Sep 24, 2025
@softwareengineerprogrammer softwareengineerprogrammer mentioned this pull request Sep 24, 2025
11 tasks
@softwareengineerprogrammer softwareengineerprogrammer changed the title Royalties [v3.9.60] Royalties [v3.9.61] Sep 24, 2025
@softwareengineerprogrammer softwareengineerprogrammer merged commit d0548e6 into main Sep 24, 2025
35 of 36 checks passed
@softwareengineerprogrammer softwareengineerprogrammer deleted the royalty-economics-3 branch October 5, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant